package com.sc.service;

import com.sc.domain.House;
import com.sc.dto.HousePageDto;
import com.sc.vo.HousePageVo;

import java.util.List;
import java.util.Map;

public interface HouseService {
    boolean add(House house);

    boolean deleteHouse(Integer id);

    boolean updateHouse(House house);

    House selectById(Integer id);

    Map<String,Object> pageQuery(HousePageDto housePageDto);

    boolean deleteHouseByIds(List<Integer> ids);
}
